package com.mlearning.demo.controller;

import com.mlearning.demo.service.TreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

import static java.lang.Integer.parseInt;

@Controller

public class IndexController {
    @Autowired
    private TreeService treeService;
    @RequestMapping("/")
    public String index(){
        return "index";
    }
}
